package com.kehutong.charge.util.enums;

import org.coraframework.util.HashID;

/**
 * @program: kht
 * @description: 计价方式
 * @author: joneron
 * @create: 2021/6/21
 **/
public enum ChargeCalcEnum implements HashID {

    MODE_USAGE("1","按用量"),
    MODE_AREA("2","按面积"),
    MODE_HOUSE("3","按户收费"),
    MODE_CAR("4","按车位收费"),
            ;

    private final String id;
    private final String desc;

    private ChargeCalcEnum(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }


    @Override
    public String getDesc() {
        return desc;
    }
}
